home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / sorgtr.z / sorgtr
Encoding:
Text File  |  2002-10-03  |  3.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4. SSSSOOOORRRRGGGGTTTTRRRR((((3333SSSS))))                                                          SSSSOOOORRRRGGGGTTTTRRRR((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      SORGTR - generate a real orthogonal matrix Q which is defined as the
  10.      product of n-1 elementary reflectors of order N, as returned by SSYTRD
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE SORGTR( UPLO, N, A, LDA, TAU, WORK, LWORK, INFO )
  14.  
  15.          CHARACTER      UPLO
  16.  
  17.          INTEGER        INFO, LDA, LWORK, N
  18.  
  19.          REAL           A( LDA, * ), TAU( * ), WORK( * )
  20.  
  21. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  22.      These routines are part of the SCSL Scientific Library and can be loaded
  23.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  24.      directs the linker to use the multi-processor version of the library.
  25.  
  26.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  27.      4 bytes (32 bits). Another version of SCSL is available in which integers
  28.      are 8 bytes (64 bits).  This version allows the user access to larger
  29.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  30.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  31.      only one of the two versions; 4-byte integer and 8-byte integer library
  32.      calls cannot be mixed.
  33.  
  34. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  35.      SORGTR generates a real orthogonal matrix Q which is defined as the
  36.      product of n-1 elementary reflectors of order N, as returned by SSYTRD:
  37.      if UPLO = 'U', Q = H(n-1) . . . H(2) H(1),
  38.  
  39.      if UPLO = 'L', Q = H(1) H(2) . . . H(n-1).
  40.  
  41.  
  42. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  43.      UPLO    (input) CHARACTER*1
  44.              = 'U': Upper triangle of A contains elementary reflectors from
  45.              SSYTRD; = 'L': Lower triangle of A contains elementary reflectors
  46.              from SSYTRD.
  47.  
  48.      N       (input) INTEGER
  49.              The order of the matrix Q. N >= 0.
  50.  
  51.      A       (input/output) REAL array, dimension (LDA,N)
  52.              On entry, the vectors which define the elementary reflectors, as
  53.              returned by SSYTRD.  On exit, the N-by-N orthogonal matrix Q.
  54.  
  55.      LDA     (input) INTEGER
  56.              The leading dimension of the array A. LDA >= max(1,N).
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSOOOORRRRGGGGTTTTRRRR((((3333SSSS))))                                                          SSSSOOOORRRRGGGGTTTTRRRR((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      TAU     (input) REAL array, dimension (N-1)
  75.              TAU(i) must contain the scalar factor of the elementary reflector
  76.              H(i), as returned by SSYTRD.
  77.  
  78.      WORK    (workspace/output) REAL array, dimension (LWORK)
  79.              On exit, if INFO = 0, WORK(1) returns the optimal LWORK.
  80.  
  81.      LWORK   (input) INTEGER
  82.              The dimension of the array WORK. LWORK >= max(1,N-1).  For
  83.              optimum performance LWORK >= (N-1)*NB, where NB is the optimal
  84.              blocksize.
  85.  
  86.              If LWORK = -1, then a workspace query is assumed; the routine
  87.              only calculates the optimal size of the WORK array, returns this
  88.              value as the first entry of the WORK array, and no error message
  89.              related to LWORK is issued by XERBLA.
  90.  
  91.      INFO    (output) INTEGER
  92.              = 0:  successful exit
  93.              < 0:  if INFO = -i, the i-th argument had an illegal value
  94.  
  95. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  96.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  97.  
  98.      This man page is available only online.
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.